package com.tz.entity;

/**
 * Created by Administrator on 2016/7/24.
 */
public class UserCart {
    private Cart cart;
    private double totalprice;
    private double totaldiscount;
    private double totaltax;
    private double total;

    public UserCart() {
    }

    public Cart getCart() {
        return cart;
    }

    public void setCart(Cart cart) {
        this.cart = cart;
    }

    public double getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(double totalprice) {
        this.totalprice = totalprice;
    }

    public double getTotaldiscount() {
        return totaldiscount;
    }

    public void setTotaldiscount(double totaldiscount) {
        this.totaldiscount = totaldiscount;
    }

    public double getTotaltax() {
        return totaltax;
    }

    public void setTotaltax(double totaltax) {
        this.totaltax = totaltax;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    @Override
    public String toString() {
        return "UserCart{" +
                "cart=" + cart +
                ", totalprice=" + totalprice +
                ", totaldiscount=" + totaldiscount +
                ", totaltax=" + totaltax +
                ", total=" + total +
                '}';
    }
}
